<?php
require('db.php');

function video_status_change($db,$id,$status)
{
	$cmd = "UPDATE MOVIE_QUEUE SET video_status='".$status."' WHERE id='".$id."'";
	$rs  = $db->Execute($cmd);
}
	if (isset($_GET['dow'])){
		video_status_change($db,$_GET['dow'],"wait_download");
	}else if (isset($_GET['cal'])){
		 video_status_change($db,$_GET['cal'],"verify_fail");
	}
?>
